Skip to content

build: implement JSON-driven Android patch system#59543

Open
lluisemper wants to merge 1 commit intonodejs:mainfrom
lluisemper:build-json-android-patches
Open

build: implement JSON-driven Android patch system#59543
lluisemper wants to merge 1 commit intonodejs:mainfrom
lluisemper:build-json-android-patches

Conversation

@lluisemper
Copy link
Copy Markdown
Contributor

@lluisemper lluisemper commented Aug 19, 2025

Replace hardcoded Android patch application with JSON configuration to improve maintainability and enable multiple patches.

The current patch_android() function only applies a single hardcoded patch, making it difficult to add new patches needed for Android builds. Recent contributions show multiple patches are required for proper Android cross-compilation support.

This change:

  • Creates android-patches.json for patch configuration
  • Refactors patch_android() to read from JSON
  • Enables platform-specific patch filtering
  • Maintains 100% backward compatibility
  • Prepares infrastructure for additional patches

Implements TODO comment in android_configure.py line 5
Refs: #57748

@lluisemper lluisemper force-pushed the build-json-android-patches branch from f1a42e1 to a0528fc Compare August 19, 2025 20:45
Replace hardcoded Android patch application with JSON configuration
to improve maintainability and enable multiple patches.

The current patch_android() function only applies a single hardcoded
patch, making it difficult to add new patches needed for Android builds.
Recent contributions show multiple patches are required for proper
Android cross-compilation support.

This change:
- Creates android-patches.json for patch configuration
- Refactors patch_android() to read from JSON
- Enables platform-specific patch filtering
- Maintains 100% backward compatibility
- Prepares infrastructure for additional patches

Implements TODO comment in android_configure.py line 5
Refs: nodejs#57748
@lluisemper lluisemper force-pushed the build-json-android-patches branch from a0528fc to 118a8da Compare August 19, 2025 20:51
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has been marked as stale due to 210 days of inactivity.
It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.

@github-actions github-actions Bot added stale and removed stale labels Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant